package com.tian.common.util;

/**
 * {@code @description:} 站点缓存key前缀
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-08-25 11:01
 * {@code @version:} 1.0
 */
public interface StationRedisPreKey {
   /**
    * key前缀+充电枪信息id  value为ChargeStationGun
    */
   String STATION_GUN_PRE_KEY = "charger.station:gun:";
   /**
    * key前缀+充电枪编号  value为ChargeStationGun
    */
   String STATION_GUN_NO_PRE_KEY = "charger.station:gun:";
   /**
    * key前缀+充电站信息id  value为ChargeStation
    */
   String STATION_PRE_KEY = "charger.station:";
   String STATION_GUN_COUNT_PRE_KEY = "charger.gun.count.station:";
   String STATION_COUNT_PRE_KEY = "charger.count.station:";
   String STATION_GUN_STATUS_PRE_KEY = "charger.station:gun:status:";
   String CHARGING_DATA_LOG_PRE_KEY = "charging.data:log:";
   /**
    * key前缀+充电站信息id  value为gunNoList
    */
   String STATION_GUN_LIST_KEY = "station.gun.list:";

   /**
    * 充电结束
    */
   String CHARGING_DATA_STOP_FLAG = "charging_data_stop_flag_";
}
